//this file has some definitions which are for portability and for changing precision

#ifndef D_DEFINES_H
#define D_DEFINES_H

typedef float real;
/** Defines the precision of the power operator. */
#define real_pow powf

typedef float real;
#define real_sqrt sqrtf

// c++11 defines standard types
#include <cstdint>
using namespace std;

typedef int8_t      byte;
typedef int16_t     int16;
typedef int32_t     int32;
typedef int64_t     int64;

typedef uint8_t      ubyte;
typedef uint16_t     uint16;
typedef uint32_t     uint32;
typedef uint64_t     uint64;


#endif
